package com.byx.chatclient.im;

import com.byx.imclientutil.entity.BaseMessage;

/**
 * BaseMessageHandler
 *
 * @author Superb
 * @date 2021/4/5 10:16
 */
public abstract class BaseMessageHandler implements IMessageHandler {
    @Override
    public void execute(BaseMessage message) {
        action(message);
    }

    protected abstract void action(BaseMessage message);
}
